package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.PaymentRecord;
import com.ruoyi.system.domain.vo.PaySubmitVo;

import javax.servlet.http.HttpServletRequest;

public interface IPaymentRecordService extends IService<PaymentRecord> {
    /**
     * 创建支付记录
     * @param record
     * @return
     */
    PaymentRecord createRecord(PaymentRecord record);

    /**
     * 创建支付记录
     * @param paySubmitVo
     * @param request
     * @return
     */
    PaymentRecord createRecordByPaySubmit(PaySubmitVo paySubmitVo, HttpServletRequest request);
}
